package com.yuand.mapper;

import com.yuand.entity.SysPermission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yuandong
 * @since 2021-08-06
 */
@Repository
public interface SysPermissionMapper extends BaseMapper<SysPermission> {
    List<SysPermission> selectPermissionsByUserId(Integer userId);
}
